package com.geostar.gmp.test;

import org.apache.commons.lang3.StringUtils;

public class StringsUtils {

	public static String[] removespace(String[] str){
		
		int _index = 0;
		for (int i = 0; i < str.length; i++) {
			if(StringUtils.isNotBlank(str[i])){
				++_index;
			}
		}
		String[] str2 = new String[_index];
		int _M = 0;
		for (int i = 0; i < str.length; i++) {
			if(StringUtils.isNotBlank(str[i])){
				str2[_M] = str[i];
				++_M;
			}
		}
		return str2;
	}
}
